import type { Dispatch, ReactNode, RefObject, SetStateAction } from 'react'; import type { DataType, ReducerAction, ReducerState } from './types'; type ContextProps = { options: DataType; onSearch: Dispatch>; isDropdownVisible: boolean; setIsDropdownVisible: Dispatch>; searchInput: string; setSearchInput: Dispatch>; selectAll?: { label: ReactNode; description?: string; }; selectAllGroup: boolean; numberOfOptions: number; numberOfDisabledOptions: number; displayedOptions: DataType; selectedData: ReducerState; size: 'small' | 'medium' | 'large'; setSelectedData: Dispatch; } & ({ multiselect: true; onChange?: (value: string[]) => void; } | { multiselect: false; onChange?: (value: string) => void; }); export declare const useSelectInput: () => ContextProps; type SelectInputProviderProps = { options: DataType; selectAll?: { label: ReactNode; description?: string; }; children: ReactNode; value?: string | string[]; size: 'small' | 'medium' | 'large'; selectAllGroup: boolean; numberOfOptions: number; numberOfDisabledOptions: number; multiselect: IsMulti; refSelect?: RefObject; onChange?: IsMulti extends true ? (value: string[]) => void : (value: string) => void; onOpen?: () => void; }; export declare const SelectInputProvider: ({ options, multiselect, selectAll, value, selectAllGroup, numberOfOptions, numberOfDisabledOptions, children, onChange, refSelect, onOpen, size, }: SelectInputProviderProps) => import("react").JSX.Element; export {}; //# sourceMappingURL=SelectInputProvider.d.ts.map